home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global score
- set score to 100
- put score into field "scorebox"
- set the soundEnabled to 1
- set the volume of sound 1 to 220
- set the volume of sound 2 to 220
- end
-
- on BEGN
- global pool, score
- set score to 100
- put score into field "scorebox"
- set pool to "1 2 4 5 6 7 8 9 10 11"
- set zip to random(10)
- set zap to word zip of pool
- repeat with i = 1 to 10
- if zap = word i of pool then
- delete word i of pool
- end if
- end repeat
- set zippo to string(zap)
- go(zippo)
- end
-
- on TIMR
- global score
- set score to score - 1
- put score into field "scorebox"
- end
-
- on RITE
- global score
- set score to score + 20
- put score into field "scorebox"
- end
-
- on whoknows
- global score
- set score to score + 5
- put score into field "scorebox"
- end
-
- on MEDM
- global score
- set score to score - 1
- put score into field "scorebox"
- end
-
- on WRNG
- global score
- set score to score - 10
- put score into field "scorebox"
- end
-
- on qb
- global pool, zip, numb, zap, zacount
- set numb to 0
- set numb to the number of words in pool
- if numb = 1 then
- go("congrat")
- else
- set zip to random(numb)
- set zap to word zip of pool
- repeat with i = 1 to numb
- if zap = word i of pool then
- delete word i of pool
- end if
- end repeat
- set zippo to string(zap)
- go(zippo)
- end if
- end
-